# 游戏配置
WINDOW_WIDTH = 800
WINDOW_HEIGHT = 600
BLOCK_SIZE = 30
GRID_WIDTH = 10
GRID_HEIGHT = 20
GRID_OFFSET_X = (WINDOW_WIDTH - GRID_WIDTH * BLOCK_SIZE) // 2
GRID_OFFSET_Y = (WINDOW_HEIGHT - GRID_HEIGHT * BLOCK_SIZE) // 2
FPS = 60
FALL_SPEED = 500  # 初始下落速度（毫秒）

# 添加难度配置
DIFFICULTY_LEVELS = {
    'easy': {
        'fall_speed': 800,
        'speed_increase': 50
    },
    'normal': {
        'fall_speed': 500, 
        'speed_increase': 75
    },
    'hard': {
        'fall_speed': 300,
        'speed_increase': 100
    }
}

# 分数配置
SCORE_SINGLE = 100
SCORE_DOUBLE = 300  
SCORE_TRIPLE = 500
SCORE_TETRIS = 800
SCORE_SOFT_DROP = 1
SCORE_HARD_DROP = 2

# 连击奖励
COMBO_BONUS = 50  # 每次连击增加的分数

# 音效配置
SOUND_LEVELUP = 'levelup'  # 等级提升音效